package cn.iocoder.yudao.module.product.controller.admin.recommend.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 落地页SKU推荐分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RecommendPageReqVO extends PageParam {

    @Schema(description = "推荐名", example = "张三")
    private String name;

    @Schema(description = "推荐描述", example = "你说的对")
    private String description;

    @Schema(description = "卖点数组，JSON 格式 []")
    private List<String> sellPoints;

    @Schema(description = "标签")
    private String tag;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "子类ID", example = "12479")
    private Long categoryId;

    @Schema(description = "商品ID", example = "30912")
    private Long spuId;

    @Schema(description = "商品 SKU 编号，关联 ProductSkuDO 的 id 编号", example = "426")
    private Long skuId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
